package com.yiwu.web.service;

import com.yiwu.common.model.vo.product.*;

import java.util.List;

/**
* @author 咏鹅
* @description 针对表【Products】的数据库操作Service
* @createDate 2024-05-18 21:09:40
*/
public interface ProductsService {
    String addProduct(ProductAddReqVO productAddReqVO,Long sellerId);

    ProductImageRspVO getProductDetailsById(String productId);

    List<ProductAllRspVO> getAllProduct(ProductAllReqVO productAllReqVO);

    Boolean updateProductStatus(ProductReqVO productReqVO,Integer status,Long sellerId);

    List<ProductAllRspVO> getMyProductList(ProductAllReqVO productAllReqVO,Long userId);

    List<ProductAllRspVO> getSellerProductList(ProductSellerReqVO productSellerReqVO);

    List<ProductAllRspVO> getRecommendProductList(String productId);

    List<String> searchKeySuggest(String keyword);
}
